<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>圆形调色盘</title>
    <link rel="stylesheet" href="./css/colorSpace.css">
</head>
<body>
    <div class="color-picker-container">
        <div class="color-wheel-container">
            <canvas id="colorWheel" width="300" height="300"></canvas>
            <div class="color-selector"></div>
        </div>
        
        <div class="brightness-slider">
            <input type="range" id="brightness" min="0" max="100" value="100">
        </div>
        
        <div class="color-values">
            <div class="color-value">
                <label>HEX</label>
                <input type="text" id="hex" readonly>
            </div>
            <div class="color-value">
                <label>RGB</label>
                <input type="text" id="rgb" readonly>
            </div>
            <div class="color-value">
                <label>HSL</label>
                <input type="text" id="hsl" readonly>
            </div>
            <div class="color-value">
                <label>HSV</label>
                <input type="text" id="hsv" readonly>
            </div>
        </div>
    </div>
    <div class="">
        <canvas id="canvas" width="200" height="100"></canvas>
        <form id="form">
            <p>
                H: <input type="range" name="h" value="0" min="0" max="360">
            </p>
            <p>
                S: <input type="range" name="w" value="0" min="0" max="100"> %
            </p>
            <p>
                L: <input type="range" name="b" value="50" min="0" max="100"> %
            </p>
        </form>
    </div>
    <script src="./script/colorSpace.js"></script>
</body>
</html>